﻿<Window x:Class="WpfApplication2.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <TreeView>
            <TreeViewItem Header="Hi">
                <TreeViewItem>
                    <TreeViewItem.Template>
                        <ControlTemplate>
                            <StackPanel Orientation="Horizontal">
                                <TextBlock>
                                    <Hyperlink Command="{Binding Commando}">
                                        <TextBlock Text="YO!"/>
                                    </Hyperlink>
                                </TextBlock>
                            </StackPanel>
                        </ControlTemplate>
                    </TreeViewItem.Template>
                </TreeViewItem>
            </TreeViewItem>
        </TreeView>
    </Grid>
</Window>
